<?php

namespace App\Request;

class SystemVersionChannelRequest extends BaseCommonRequest
{

    public function rules(): array
    {
        return [
            'user_id' => 'required',
            'from' => 'required|in:1,2',
            'version_code' => 'required',
            'channel' => 'required'
        ];
    }

}